-- GENERATED SPELL FOR [Hooktooth Frenzy] --


function spell0_11374(pUnit, Event) --@Pierce Armor,n/a--
pUnit:FullCastSpellOnTarget(12097,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11374', 20254, 1)
end

function Sorts_11374(pUnit, Event)
local choix_sorts_11374 = math.random(0, 0)
if choix_sorts_11374 == 0 then
pUnit:RegisterEvent('spell0_11374', 1, 1)
end
end

function mob11374_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11374', math.random(1500, 3000), 1)
end

function mob11374_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11374_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11374_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11374, 1, 'mob11374_Action')
RegisterUnitEvent(11374, 2, 'mob11374_Leave')
RegisterUnitEvent(11374, 3, 'mob11374_Kill')
RegisterUnitEvent(11374, 4, 'mob11374_Die')
